package com.csust.automaticteach.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 练习情况表
 * @TableName t_practice_situation
 */
@TableName(value ="t_practice_situation")
@Data
public class PracticeSituation implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 错误点
     */
    @TableField(value = "errorPoint")
    private String errorPoint;

    /**
     * 所属班级id
     */
    @TableField(value = "classId")
    private Long classId;
    /**
     * 所属用户id
     */
    @TableField(value = "userId")
    private Long userId;

    /**
     * 历史准确率
     */
    @TableField(value = "accuracyRate")
    private Double accuracyRate;

    /**
     * 练习总数量
     */
    @TableField(value = "totalNum")
    private Long totalNum;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableField(value = "isDelete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}